import http from '@/utils/http'

//获取商品主分类数据
export const getCategoryListAPI = ()=>{
return  http.get('/api/tabs')
}

//根据主分类 id 获取商品子分类数据
export const getCategoryBrandlistAPI = (id:any)=>{
  return  http.get(`/api/tab/${id}`)
  }